package ch.ethz.fcl.metrobuzz.data.singapore;

public class SGTransitType {

	public static TransitType getTransitType(String id) {
		if (id.startsWith("SW") || id.startsWith("SE") || id.startsWith("PTC")
				|| id.startsWith("PE") || id.startsWith("NS")
				|| id.startsWith("CG") || id.startsWith("CC")
				|| id.startsWith("BP") || id.startsWith("BCH")
				|| id.startsWith("NE") || id.startsWith("IMB")
				|| id.startsWith("EW"))
			return TransitType.MRT;
		else
			return TransitType.BUS;
	}

	public enum TransitType {
		BUS, MRT
	}
}
